package com.isky.visual.proj.entity.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

@Data
@ApiModel(value="PanelGroupParam", description="仪表盘分组")
public class PanelGroupParam {
    @NotNull
    @ApiModelProperty(value = "仪表盘组上级组id 创建必填，更新不填")
    private Long ParentId;

    @ApiModelProperty(value = "仪表盘组id 创建不填，更新必填")
    private Long groupId;

    @NotNull
    @ApiModelProperty(value = "仪表盘组名称")
    private String groupName;

    @NotNull
    @ApiModelProperty(value = "仪表盘组类型 1 个人公共 2 个人")
    @Size(min = 1,max = 2)
    private Integer groupType;

    @ApiModelProperty(value = "包含的的仪表盘页id")
    private Long[] projectIds;

}
